#! /bin/bash

while true 
	do
	echo `date`
	com="ss -anp | grep $1 | wc -l"
	echo $com
	eval "$com"
	#echo `ss -ant | grep $1 | wc -l`	
	sleep $2s
	done

